#include <xen/rcupdate.h>
#include <xen/guest_access.h>
#include <xen/bitmap.h>
+#include <xen/shadow.h>
#include <asm/current.h>
#include <public/domctl.h>
#include <acm/acm_hooks.h>
spin_lock(&d->page_alloc_lock);
if ( new_max >= d->tot_pages )
{
+ ret = guest_physmap_max_mem_pages(d, new_max);
+ if ( ret != 0 )
+ break;
d->max_pages = new_max;
ret = 0;
}
* along with this program; if not, write to the Free Software
* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * Copyright (C) IBM Corp. 2005, 2006
+ * Copyright IBM Corp. 2005, 2006, 2007
*
* Authors: Hollis Blanchard <hollisb@us.ibm.com>
+ * Ryan Harper <ryanh@us.ibm.com>
*/
#ifndef _ASM_SHADOW_H_
{
return (1ULL << (d->arch.htab.order + PAGE_SHIFT)) >> 20;
}
+
+#define guest_physmap_max_mem_pages(d, n) (0)
+
#endif
+
sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */);
}
+#define guest_physmap_max_mem_pages(d, n) (0)
+
#endif /* _XEN_SHADOW_H */
/*